package com.zelix;

import java.awt.Component;
import java.util.StringTokenizer;
import javax.swing.JList;
import javax.swing.ListModel;


public class t3 extends JList {

    private static final String a;
    private static final String b = System.getProperty(z(z("\026e{M5\na\177_r\023j")));
    private static final String c = System.getProperty(z(z("\023w#Bz\021a")));
    private boolean d;
    private int e;
    private static String z[];

    public t3() {
        a();
    }

    public t3(ListModel listmodel) {
        super(listmodel);
        a();
    }

    static boolean a(t3 t3_1) {
        return t3_1.d;
    }

    static int b(t3 t3_1) {
        return t3_1.e;
    }

    static void a(t3 t3_1, int i) {
        t3_1.e = i;
    }

    private void a() {
        d = b();
        addMouseListener(new m0(this));
        addMouseMotionListener(new n0(this));
    }

    private static boolean b() {
        boolean flag = g2.b;
        if ((a.indexOf(z[1]) != -1 || a.indexOf(z[2]) != -1) && c.indexOf(z[0]) != -1) {
            StringTokenizer stringtokenizer;
            int i;
            stringtokenizer = new StringTokenizer(b, ".");
            i = 0;
            while (stringtokenizer.hasMoreTokens()) {
                String s = stringtokenizer.nextToken();
                switch (i) {
                    default:
                        break;

                    case 0: // '\0'
                        try {
                            int j = Integer.parseInt(s);
                            if (j > 1)
                                return false;
                        }
                        catch (NumberFormatException _ex) {
                            return false;
                        }
                        break;

                    case 1: // '\001'
                        try {
                            int k = Integer.parseInt(s);
                            if (k < 4)
                                return true;
                            if (k > 4)
                                return false;
                        }
                        catch (NumberFormatException _ex) {
                            return false;
                        }
                        break;

                    case 2: // '\002'
                        if (s.length() <= 0)
                            break;
                        char c1 = s.charAt(0);
                        return c1 == '0';
                }
                i++;
            }
        }
        return false;
    }

    private static char[] z(String str) {
        char ac[] = str.toCharArray();
        int clen = ac.length;
        if (clen >= 2)
            return ac;
        ac[0] ^= 0x1b;
        return ac;
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x7c;
                    break;
                case 1:
                    key = 4;
                    break;
                case 2:
                    key = 13;
                    break;
                case 3:
                    key = 44;
                    break;
                default:
                    key = 27;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static {
        String as[] = new String[3];
        as[0] = z(z("+mcHt\013w"));
        as[1] = z(z("/qc"));
        as[2] = z(z("5F@"));
        z = as;
        a = System.getProperty(z(z("\026e{M5\nacHt\016")), z[1]);
    }
}